Roles
Retrieve Role
get/v2/company/{company_id}/roles/{role_id}
Request
- Base URLhttps://api.7shifts.com
- Auth
- OAuth 2Authorization codehttps://app.7shifts.com/oauth2/authorizeClient credentialsPasswordToken URLhttps://app.7shifts.com/oauth2/token
- or API key in cookie 7session
Path parameters
company_idinteger required
Company ID
role_idinteger required
Role ID
Headers
x-api-versionstring
An API version
Example:2022-05-01
7shifts API version
x-company-guidstring uuid
Company GUID
Response
OK
Example response
{
"data": {
"created": "2021-01-01T00:00:00.000Z",
"modified": "2021-01-01T00:00:00.000Z"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.