v1/employments/{id}/roleCopy Pageput https://shyftplan.com/api/v1/employments/{id}/roleUpdate the role of the employment. If the role is employee then this removes all the rights of the employmentPath Paramsidint32required≥ 1ID of the employment.Body ParamsUpdate a role of the Employment.If the role is employee then it removes all the rights of the employmentuser_emailstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. E-mail address of the API user.authentication_tokenstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. Authentication token - can be fetched by login action.company_idint32required≥ 1ID of the shyftplan account.rolestringenumrequiredDefaults to employeeRole of the employment: employee/stakeholder/both.employeebothstakeholderAllowed:employeebothstakeholderResponses 200Successfully updated 401Unauthorized 403Forbidden 404Couldn't find Employment 422Invalid requestUpdated 3 months ago v1/employments/{id}/rights/available_positionsv1/employments/{id}/ui_settingsDid this page help you?YesNo