Delete a guest category
delete
                    /spms/v2/ships/{shipId}/configurations/profiles/guestCategories/{guestCategoryCode}
This is to delete a guest category.
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    guestCategoryCode: string
                    
                    Guest Category Code
- 
                    shipId: number
                    
                    Ship Id
Response
Supported Media Types
                - application/json
200 Response
Ok
                
                
                400 Response
Bad Request
                
                
                    Root Schema : schema
    
      
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    Show Source
    - 
            
            object 
            
            
         Error Response
            
        Title:Error ResponseError Response returned when encountered error
Example:
    
    
{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
    "title":"Bad Request",
    "detail":"Invalid parameter(s) passed in"
}Nested Schema : Error Response
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Error ResponseError Response returned when encountered error
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    
401 Response
Unauthorized
                
                
                    Root Schema : schema
    
      
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    Show Source
    - 
            
            object 
            
            
         Error Response
            
        Title:Error ResponseError Response returned when encountered error
Example:
    
    
{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2",
    "title":"Unauthorized",
    "detail":"Valid token is required to access this resource"
}Nested Schema : Error Response
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Error ResponseError Response returned when encountered error
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    
403 Response
Forbidden
                
                
                    Root Schema : schema
    
      
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    Show Source
    - 
            
            object 
            
            
         Error Response
            
        Title:Error ResponseError Response returned when encountered error
Example:
    
    
{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4",
    "title":"Forbidden",
    "detail":"You are forbidden to use this API"
}Nested Schema : Error Response
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Error ResponseError Response returned when encountered error
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    
404 Response
Not found
                
                
                    Root Schema : schema
    
      
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    Show Source
    - 
            
            object 
            
            
         Error Response
            
        Title:Error ResponseError Response returned when encountered error
Example:
    
    
{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5",
    "title":"Not Found",
    "detail":"Guest Category code could not be found"
}Nested Schema : Error Response
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Error ResponseError Response returned when encountered error
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    
405 Response
Method Not Allowed
                
                
                    Root Schema : schema
    
      
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    Show Source
    - 
            
            object 
            
            
         Error Response
            
        Title:Error ResponseError Response returned when encountered error
Example:
    
    
{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6",
    "title":"Method Not Allowed",
    "detail":"The method is not available"
}Nested Schema : Error Response
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Error ResponseError Response returned when encountered error
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    
406 Response
Not acceptable
                
                
                    Root Schema : schema
    
      
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    Show Source
    - 
            
            object 
            
            
         Error Response
            
        Title:Error ResponseError Response returned when encountered error
Example:
    
    
{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.7",
    "title":"Not Acceptable",
    "detail":"Request a Mime type that is supported for this Resource"
}Nested Schema : Error Response
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Error ResponseError Response returned when encountered error
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    
409 Response
Conflict
                
                
                    Root Schema : schema
    
      
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    Show Source
    - 
            
            object 
            
            
         Error Response
            
        Title:Error ResponseError Response returned when encountered error
Example:
    
    
{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.10",
    "title":"Conflict",
    "detail":"Guest Category code is in use, delete is not allowed"
}Nested Schema : Error Response
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Error ResponseError Response returned when encountered error
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    
500 Response
Internal Server Error
                
                
                    Root Schema : schema
    
      
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    Show Source
    - 
            
            object 
            
            
         Error Response
            
        Title:Error ResponseError Response returned when encountered error
Example:
    
    
{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1",
    "title":"Internal Server Error",
    "detail":"Error occurred while processing this request"
}Nested Schema : Error Response
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Error ResponseError Response returned when encountered error
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    
501 Response
Not implemented
                
                
                    Root Schema : schema
    
      
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    Show Source
    - 
            
            object 
            
            
         Error Response
            
        Title:Error ResponseError Response returned when encountered error
Example:
    
    
{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.2",
    "title":"Not implemented",
    "detail":"Resource is not implemented in this version of the API"
}Nested Schema : Error Response
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Error ResponseError Response returned when encountered error
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    
503 Response
Service Unavailable
                
                
                    Root Schema : schema
    
      
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    Show Source
    - 
            
            object 
            
            
         Error Response
            
        Title:Error ResponseError Response returned when encountered error
Example:
    
    
{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.4",
    "title":"Service Unavailable",
    "detail":"Service not available"
}Nested Schema : Error Response
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Error ResponseError Response returned when encountered error
    
    
    
    
        Show Source