Update an API key
Changed onUpdates mutable fields of an API key: display name, status (active / disabled / revoked), permission mode and access map, project scope and constraints. Omitted fields keep their current values. Unknown body fields are rejected.
Request
- Base URLhttps://my.orq.ai
- URLhttps://my.orq.ai/v2/api-keys/{api_key_id}
- AuthHTTP bearer
Path parameters
Unique identifier of the API key.
Request body
Response
API key updated successfully.
Changes
- breaking
removed the enum value
ACCESS_LEVEL_NONEof the request property/ - breaking
removed the enum value
ACCESS_LEVEL_READof the request property/ - breaking
removed the enum value
ACCESS_LEVEL_WRITEof the request property/ - breaking
removed the enum value
API_KEY_STATUS_ACTIVEof the request property - breaking
removed the enum value
API_KEY_STATUS_DISABLEDof the request property - breaking
removed the enum value
API_KEY_STATUS_REVOKEDof the request property - breaking
removed the enum value
API_KEY_STATUS_UNSPECIFIEDof the request property - breaking
removed the enum value
PERMISSION_MODE_UNSPECIFIEDof the request property - breaking
the
request property type changed from no type toobject - warning
removed from the
request propertyallOflist - warning
the
request property's maxLength was set to100 - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new
activeenum value to the request property - info
added the new
allenum value to the request property - info
added the new
disabledenum value to the request property - info
added the new
read_onlyenum value to the request property - info
added the new
restrictedenum value to the request property - info
added the new
revokedenum value to the request property - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- breaking
added to the
request propertyallOflist - breaking
request property
/was restricted to a list of enum values - breaking
removed the enum value
activeof the request property - breaking
removed the enum value
allof the request property - breaking
removed the enum value
disabledof the request property - breaking
removed the enum value
read_onlyof the request property - breaking
removed the enum value
restrictedof the request property - breaking
removed the enum value
revokedof the request property - breaking
the
request property type changed fromobjectto no type - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new
ACCESS_LEVEL_NONEenum value to the request property/ - info
added the new
ACCESS_LEVEL_READenum value to the request property/ - info
added the new
ACCESS_LEVEL_WRITEenum value to the request property/ - info
added the new
API_KEY_STATUS_ACTIVEenum value to the request property - info
added the new
API_KEY_STATUS_DISABLEDenum value to the request property - info
added the new
API_KEY_STATUS_REVOKEDenum value to the request property - info
added the new
API_KEY_STATUS_UNSPECIFIEDenum value to the request property - info
added the new
PERMISSION_MODE_UNSPECIFIEDenum value to the request property - info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- breaking