PUT /api/permissions/
Updates the details of an existing permission. All fields in the request body are optional and only provided fields will be updated.Authentication
This endpoint requires authentication with a valid Bearer token.Path Parameters
The unique identifier of the permission to update
Request Body
Updated name for the permission. Maximum 100 characters.
Updated description for the permission. Maximum 200 characters.
Response
Unique identifier of the updated permission
The updated name of the permission
The updated description of the permission
Current status of the permission
Status Codes
- 200 OK - Permission updated successfully
- 400 Bad Request - Invalid input data or validation errors
- 404 Not Found - Permission with the specified ID not found
- 500 Internal Server Error - Server error occurred