Create a new API key
Changed onMints an opaque sk-orq- API key. Use project_scope to bind it to a single project and permission_mode with access to restrict permissions. A management key with API-key write access can create keys. The legacy projects field is also accepted. The raw token is returned once in the token field and is never retrievable afterwards. Unknown body fields are rejected.
Request
- Base URLhttps://my.orq.ai
- URLhttps://my.orq.ai/v2/api-keys
- AuthHTTP bearer
Request body
Response
API key created successfully.
Changes
- breaking
added the new required request property
/ - 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
PERMISSION_MODE_UNSPECIFIEDof the request property - breaking
the
request property type changed from no type toobject - breaking
the
request property type changed from no type toobject - warning
removed from the
request propertyallOflist - 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 optional request property
/ - info
added the new optional request property
- info
added the new
allenum 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 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
added to the
request propertyallOflist - breaking
request property
/was restricted to a list of enum values - breaking
removed the enum value
allof the request property - breaking
removed the enum value
read_onlyof the request property - breaking
removed the enum value
restrictedof the request property - breaking
the
request property type changed fromobjectto no type - 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
/ - 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
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
- breaking