Skip to content

Allow using both the slug and ID for get/patch/put projects #156

@aeneasr

Description

@aeneasr

Preflight checklist

Describe your problem

Right now it is only possible to address projects using the project ID. However, we would like to also make it possible to fetch the project by the project slug!

ory patch project my-awesome-slug ...
ory patch project 1234-1234-1234-1234 ...

Describe your ideal solution

It should be possible to do this with the slugs. One option is to list all the projects and store their IDs and slugs in the config and then use that for look up of slug -> id. This is the preferred option IMO.

Alternatively we can also add an API in the Ory Cloud APIs.

Workarounds or alternatives

None

Version

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featNew feature or request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions