apache / apache/polaris

[API Change] Change revokeGrantFromCatalogRole to return HTTP code 204, rather than 201 on success.

Open
#2,657 2 comments 0 reactions 1 assignee Assigned to @adnanhemani View on GitHub
enhancement proposal
Dominant language
Java
Stars
2.1k
Forks
522
Avg merge
2d 1h
Merged PRs (30d)
140

Description

### Is your feature request related to a problem? Please describe.

A 201 (Created) HTTP response code does not make much sense for revoking a grant from a catalog role. We should change this in the next major version bump.

### Describe the solution you'd like

Change revokeGrantFromCatalogRole to return HTTP code 204, rather than 201 on success.

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.