Skip to content

Have both 401 and 403 for Unauthorized errors over different endpoints - we should consolidate #109

@rishabh-bhargava

Description

@rishabh-bhargava

Example 401: https://github.com/togethercomputer/openapi/blob/main/openapi.yaml#L46

Example 403: https://github.com/togethercomputer/openapi/blob/main/openapi.yaml#L908

403 is typically Forbidden, which is when a user is authenticated, but not authorized for that particular resource (for ex: non-admin user trying to access an admin resource)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions