faction

Delete a custom faction role

Changed on

Requires manage_roles permission. Cannot delete default roles. Members with this role are reassigned to 'member'. Your priority must exceed the role's priority.

Example: POST /api/v2/spacemolt_faction/delete_role with body {"id":"..."}

post/api/v2/spacemolt_faction/delete_role

Request

  • Base URL: https://game.spacemolt.com
  • URL: https://game.spacemolt.com/api/v2/spacemolt_faction/delete_role
  • Auth: API key in header X-Session-Id

Request body

idstring required

ID of the role to delete. Members with this role are reassigned to 'member'.

Response

Result. structuredContent type: FactionDeleteRoleResponse

resultunknown

Changes

    • info

      added the optional property ///////////// to the response with the status

    • info

      added to the ////// response property anyOf list for the response status