Update an existing endpoint-to-action mapping.
Authorization: Requires admin privileges to update mappings.
Partial Updates: You can update individual fields (path_pattern, method, action_id, description) without affecting others. Provide only the fields you want to change.
Validation: The new path pattern and method combination must not conflict with existing mappings (unless it’s the same mapping being updated).
Action Reference: If updating action_id, the new action must exist.
Use Cases:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request model for updating an existing endpoint-to-action mapping.
Updated URL path pattern
1 - 255"/api/v1/users/{user_id}"
Updated HTTP method
"GET"
Updated action ID
x > 02
Updated description
500"Get detailed user profile information"
Mapping updated successfully
Detailed response model for mapping information.
Unique identifier of the mapping
1
URL path pattern
"/api/v1/users/{user_id}"
HTTP method
"GET"
Action name
"user:read"
ISO timestamp when the mapping was created
"2024-01-15T10:30:00Z"
Mapping description
"Get user profile information"
CPF of the user who created this mapping
"12345678901"
ISO timestamp when the mapping was last updated
"2024-01-16T14:20:00Z"