v1/employments/{id}/role

Update the role of the employment. If the role is employee then this removes all the rights of the employment

Path Params
int32
required
≥ 1

ID of the employment.

Body Params

Update a role of the Employment.If the role is employee then it removes all the rights of the employment

string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

E-mail address of the API user.

string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

Authentication token - can be fetched by login action.

int32
required
≥ 1

ID of the shyftplan account.

string
enum
required
Defaults to employee

Role of the employment: employee/stakeholder/both.

Allowed:
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json