Skip to content

osc delete type name makes API GET call before deleting #1702

@liggitt

Description

@liggitt

This breaks the assumption that you can have permission to delete things you cannot read.

This is very useful for things like access tokens.

Visit $MASTER/oauth/token/request:

How do I delete this token when I'm done?
osc delete oauthaccesstoken NmJkZGYxYWEtYzZjYS00OWQ0LThiOWQtNmJiY2NkYTlhNWFh

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/clikind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions