GET
/v1/organizations/check-slug/:slug
Copy to clipboard
Check if organization slug exists
Check if organization slug exists
Request
Add parameter in header
authorization
Example:
Authorization: Bearer <token>
slug
string
required
Responses
200 Response
application/json
status
boolean
optional
data
object
optional
valid
boolean
optional
reason
string
optional
{
"status": true,
"data": {
"valid": true,
"reason": "string"
}
}
401 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
404 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}