Where you fall within your organization's structure.
createdAt | string <date-time>
The date and time the team was created. |
name | string <= 255 characters
The name of the role (e.g. "Vice-President"). |
updatedAt | string <date-time>
The date and time the team was last updated. |
{- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
data (object) or links (object) (role) Roles are heirarchical. This is the parent of the current role. You can use only the attribute id to filter roles by parentRole (e.g. filter[parentRole][id]=X). |
{- "parentRole": {
- "data": {
- "id": 0,
- "type": "role"
}
}
}
METADATA NAME | DESCRIPTION | QUERY PARAM |
---|---|---|
canWrite | A boolean value indicating whether the current API user has write access to this resource. | provideAuthorizationMeta |
canDelete | A boolean value indicating whether the current API user has delete access to this resource. | provideAuthorizationMeta |
{- "data": [
- {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "parentRole": {
- "data": {
- "id": 0,
- "type": "role"
}
}
}, - "type": "string"
}
]
}
object |
Created
JSON error message
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "parentRole": {
- "data": {
- "id": 0,
- "type": "role"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "parentRole": {
- "data": {
- "id": 0,
- "type": "role"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "parentRole": {
- "data": {
- "id": 0,
- "type": "role"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "parentRole": {
- "data": {
- "id": 0,
- "type": "role"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "parentRole": {
- "data": {
- "id": 0,
- "type": "role"
}
}
}, - "type": "string"
}
}