- Docs
- Api%2Freference%2Forganizations%2FGetDefaultRole
Retrieve a default role
Retrieve the default role configuration for the organization. This endpoint returns the role that is automatically assigned to new members when they join the organization.
AuthorizationBearer <token>
In: header
Path Parameters
organizationId*string
Unique identifier of the organization
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api-testnet.dual.network/organizations/string/roles/default"{
"id": "string",
"name": "string",
"description": "string",
"permissions": [
{
"resource": "api-keys",
"crud": {
"read": true,
"create": true,
"update": true,
"delete": true
}
}
],
"when_created": "2019-08-24T14:15:22Z",
"when_modified": "2019-08-24T14:15:22Z"
}{
"code": 0,
"message": "string",
"details": {}
}{
"code": 0,
"message": "string",
"details": {}
}{
"code": 0,
"message": "string",
"details": {}
}