Creates a Named Credential.
POST {{baseUrl}}/namedCredentials
Creates a named credential.
Request Body
{"name"=>"<string>", "compartmentId"=>"<string>", "type"=>"ORACLE_DB", "scope"=>"GLOBAL", "content"=>{"credentialType"=>"BASIC"}, "associatedResource"=>"<string>", "description"=>"<string>", "freeformTags"=>{"sint_3"=>"<string>", "amet8d"=>"<string>", "officia_6c"=>"<string>", "et_97"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations. For example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
might be rejected. | |||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"name":"\u003cstring\u003e","id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","lifecycleState":"DELETING","timeCreated":"\u003cdateTime\u003e","associatedResource":"\u003cstring\u003e","content":{"credentialType":"BASIC"},"definedTags":{"elit96":{"ea_a":{}},"ullamco_ba":{"pariatur4f":{},"in_f":{}}},"description":"\u003cstring\u003e","freeformTags":{"ipsumd7":"\u003cstring\u003e"},"lifecycleDetails":"\u003cstring\u003e","scope":"RESOURCE","timeUpdated":"\u003cdateTime\u003e","type":"ORACLE_DB"}