Create profile
- Print
- PDF
Create profile
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Create a profile.
API
- POST /profiles
Request
Body
{
"name": "string",
"description": "string",
"durationSeconds": integer,
"enabled": boolean,
"roleIdList": [
"string"
]
}
Request fields
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
name | Y | string | Profile name | |
description | N | string | Profile description | |
durationSeconds | N | integer | 3600 if not entered | Temporary credential duration (second) |
enabled | N | boolean | false if not entered | Profile activation status |
roleIdList | N | list | null, [] creates a profile without an associated role | List of roleIds of roles this profile can use for temporary credentials |
Response
Body
{
"profileId": "string",
"profileNrn": "string",
"name": "string",
"description": "string",
"enabled": boolean,
"durationSeconds": integer,
"roleNrnList": [
"string"
],
"createTime": "string",
"updateTime": "string"
}
Response fields
Item | Type | Description |
---|---|---|
profileId | string | Profile ID |
profileNrn | string | Profile NRN |
name | string | Profile name |
description | string | Profile description |
enabled | boolean | Profile activation status |
durationSeconds | integer | Temporary credential duration (second) |
roleNrnList | list | List of roleNrns of roles this profile can use for temporary credentials |
createTime | string | Creation time |
updateTime | string | Modification time |
Was this article helpful?