Create an App Client
POST/v1/app-clients
Create an App Client
Request
- application/json
Body
The request received from the client.
The name of the App Client.
The description for the App Client.
The names of the roles that the App Client has. This is a subset of the roles of the user creating the App Client.
Responses
- 200
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
The App Client identifier.
The name of the App Client.
The description for the App Client.
The names of the roles that the App Client has. This is a subset of the roles of the user creating the App Client.
The client identifier for the App Client.
The client secret for the App Client. This is provided only once and cannot be retrieved again.
A hint for the client secret.
{
"appClientId": "string",
"name": "string",
"description": "string",
"roles": [
"string"
],
"clientId": "string",
"clientSecret": "string",
"clientSecretHint": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
An error status code describing the response.
Enum Value | Description |
---|---|
0 | OK |
1 | Cancelled |
2 | Unknown |
3 | InvalidArgument |
4 | DeadlineExceeded |
5 | NotFound |
6 | AlreadyExists |
7 | PermissionDenied |
8 | ResourceExhausted |
9 | FailedPrecondition |
10 | Aborted |
11 | OutOfRange |
12 | Unimplemented |
13 | Internal |
14 | Unavailable |
15 | DataLoss |
16 | Unauthenticated |
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 12
, 13
, 14
, 15
, 16
]
A developer-facing error message
details
object[]
A list of messages containing details about the errors
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}