Create an Application
post
/api/v2/applications/
Make a POST request to this resource with the following application fields to create a new application:
name: Name of this application. (string, required)-
description: Optional description of this application. (string, default="") -
client_type: Set to Public or Confidential depending on how secure the client device is. (choice, required)confidential: Confidentialpublic: Public
redirect_uris: Allowed URIs list, space separated (string, default="")authorization_grant_type: The Grant type the user must use for acquire tokens for this application. (choice, required)authorization-code: Authorization codepassword: Resource owner password-based
skip_authorization: Set True to skip authorization step for completely trusted applications. (boolean, default=False)organization: Organization containing this application. (id, required)
Request
Supported Media Types
- application/json
Root Schema : OAuth2Application
Type:
Show Source
object-
authorization_grant_type(required):
string
Title:
Authorization Grant TypeAllowed Values:[ "authorization-code", "password" ]The Grant type the user must use for acquire tokens for this application. -
client_id:
string
Title:
Client idRead Only:trueMinimum Length:1 -
client_secret:
string
Title:
Client SecretRead Only:trueMinimum Length:1Used for more stringent verification of access to an application when creating a token. -
client_type(required):
string
Title:
Client TypeAllowed Values:[ "confidential", "public" ]Set to Public or Confidential depending on how secure the client device is. -
created:
string
Title:
CreatedRead Only:true -
description:
string
Title:
Description -
id:
integer
Title:
IdRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMaximum Length:255 -
organization(required):
integer
Title:
OrganizationOrganization containing this application. -
redirect_uris:
string
Title:
Redirect URIsAllowed URIs list, space separated - related: string
-
skip_authorization:
boolean
Title:
Skip AuthorizationSet True to skip authorization step for completely trusted applications. -
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true
Response
Supported Media Types
- application/json
201 Response
Root Schema : OAuth2Application
Type:
Show Source
object-
authorization_grant_type(required):
string
Title:
Authorization Grant TypeAllowed Values:[ "authorization-code", "password" ]The Grant type the user must use for acquire tokens for this application. -
client_id:
string
Title:
Client idRead Only:trueMinimum Length:1 -
client_secret:
string
Title:
Client SecretRead Only:trueMinimum Length:1Used for more stringent verification of access to an application when creating a token. -
client_type(required):
string
Title:
Client TypeAllowed Values:[ "confidential", "public" ]Set to Public or Confidential depending on how secure the client device is. -
created:
string
Title:
CreatedRead Only:true -
description:
string
Title:
Description -
id:
integer
Title:
IdRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMaximum Length:255 -
organization(required):
integer
Title:
OrganizationOrganization containing this application. -
redirect_uris:
string
Title:
Redirect URIsAllowed URIs list, space separated - related: string
-
skip_authorization:
boolean
Title:
Skip AuthorizationSet True to skip authorization step for completely trusted applications. -
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true