Clients

Create a new OAuth2 client.

Returns 201 with a JSON:API resource object including the one-time client_secret in the attributes. The secret is never retrievable after this response.

Required OAuth scope: clients:write

post/v2/clients/

Request

Request body

namestring required
descriptionstring nullable
scope_codenamesstring[]
scope_presetstring nullable
ip_allowliststring[]

Response

Created

object required

Changes

    • 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

      media type application/json was changed to a more specific media type application/vnd.api+json for the response status

    • info

      media type application/json was changed to a more specific media type application/vnd.api+json for the response status

    • info

      media type application/json was changed to a more specific media type application/vnd.api+json for the response status

    • info

      media type application/json was changed to a more specific media type application/vnd.api+json for the response status

    • info

      media type application/json was changed to a more specific media type application/vnd.api+json for the response status