USER
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdintegerRequiredExample:
1Header parameters
tokenstringOptionalExample:
abc123def456ghi789jkl012mno345pqr678stu901vwx234yz567abc890Responses
200
Successful response
application/json
get
/api/v1/user/{userId}200
Successful response
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdintegerRequiredExample:
1Body
objectOptionalExample:
{"name":"John","surname":"Doe","email":"[email protected]","organizations":[2],"roleId":2}Responses
200
Successful response
application/json
put
/api/v1/user/{userId}200
Successful response
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
objectOptionalExample:
{"name":"Jane","surname":"Smith","email":"[email protected]","organizations":[2]}Responses
200
Successful response
application/json
post
/api/v1/user200
Successful response
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdintegerRequiredExample:
1Body
objectOptionalExample:
{"password_new":"newpassword123","password_old":"oldpassword123"}Responses
200
Successful response
application/json
patch
/api/v1/user/{userId}/password-change200
Successful response
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdintegerRequiredExample:
1Body
objectOptionalExample:
{"permissionSlug":"example-permission-slug","name":"Example Permission"}Responses
200
Successful response
application/json
post
/api/v1/user/{userId}/permission200
Successful response
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdintegerRequiredExample:
1Body
objectOptionalExample:
{"slugArray":["permission-slug-1","permission-slug-2"]}Responses
200
Successful response
application/json
post
/api/v1/user/{userId}/permission/set200
Successful response
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdintegerRequiredExample:
1Responses
200
Successful response
application/json
delete
/api/v1/user/{userId}/delete200
Successful response
No content
Last updated
