Teams

Check team slug availability

Changed on

Check whether a team URL slug is available within the current tenant.

get/teams/slugs/{slug}/availability

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Path parameters

slug, string required

Candidate team URL slug to check after server normalization.

Query parameters

key, string

Current team key to exclude when checking availability during team edits.

Response

OK

object required

Team slug availability result.

slug, string required

Normalized team URL slug that was checked.

available, boolean required

Whether the normalized slug is available in this tenant.

Changes

    • breaking

      for the path request parameter slug, the minLength was increased from 0 to 3

    • breaking

      for the query request parameter key, the minLength was increased from 0 to 1

    • warning

      for the path request parameter slug, the maxLength was set to 30